<%@page import="bean.ProsesBean"%>
<%@page import="java.sql.ResultSet"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : Medication 
Description: A two-column, fixed-width design with dark color scheme.
Version    : 1.0
Released   : 20121118

-->
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Informasi</title>
        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <link href="http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" rel="stylesheet" type="text/css" />
        <link href="default.css" rel="stylesheet" type="text/css" media="all" />
        <!--[if IE 6]>
        <link href="default_ie6.css" rel="stylesheet" type="text/css" />
        <![endif]-->
    </head>
    <body>
        <div id="header" class="container">
            <div id="logo">
                <h1><a href="#">Pendafataran SMA Negeri Online</a></h1>
                <p>Yogyakarta</a></p>
            </div>
        </div>
        <div id="menu" class="container">
            <ul>
                <li><a href="FormUtama.jsp" accesskey="1" title="">Home</a></li>
                <li><a href="FormPendaftaran.jsp" accesskey="1" title="">Pendafataran</a></li>
                <li><a href="FormPengumuman.jsp" accesskey="2" title="">Pengumuman</a></li>
                <li  class="current_page_item"><a href="FormInformasi.jsp" accesskey="3" title="">Informasi</a></li>
                <li><a href="#" accesskey="4" title=""></a></li>
                <li><a href="#" accesskey="5" title=""></a></li>
            </ul>
        </div>
        <div id="page" class="container">

            <div id="content">

                <table border="0" cellspacing="0" cellpadding="0" width="660" >
                    <tr valign="top" align="left">
                        <td width="152" height="48"></td>
                        <td width="555"></td>

                    </tr>
                    <tr valign="top" align="left">
                        <td></td>
                        <td width="172" >
                            <h2>Info info akademik</h2>
                        </td>

                    </tr>
                    <tr valign="top" align="left" >
                        <td></td>
                        <td width="172" class="first">
                            <h3 >Agenda : </h3>

                            <p>Berikut adalah agenda kegiatan dari Sistem Pendaftaran SMA Negeri Online </p>
                            <table width="444" border="1">
                                <tr>
                                    <td style="text-align: right"><p>1 - 6 Juli 2012</p></td>
                                    <td><p> Masa pendaftaran online</p></td>
                                </tr>
                                <tr>
                                    <td style="text-align: right"><p>7 - 8 Juli 2012</p></td>
                                    <td> <p>Seleksi oleh sekolah</p></td>
                                </tr>
                                <tr>
                                    <td style="text-align: right"><p>9 Juli 2012</p></td>
                                    <td> <p>Pengumuman hasil seleksi</p></td>
                                </tr>
                            </table>
                            <br>
                                <h3>Daftar Sekolah</h3>
                                <p> Berikut adalah daftar sekolah yang berpartisipasi beserta kuota dari tiap - tiap sekolah</p> 

                                <div >
                                    <br>
                                        <%
                                            try {
                                                ProsesBean PK = new ProsesBean();%>
                                        <table border="1">
                                            <tr>
                                                <td><p> Nama Sekolah </p></td>
                                                <td><p> Kuota </p></td>
                                            </tr>
                                            <%
                                                ResultSet temp = PK.kuotaSekolah();
                                                while (temp.next()) {
                                            %>
                                            <tr>
                                                <td><p><%=temp.getString(1)%></p></td>
                                                <td><p><%=temp.getString(2)%></p></td>
                                            </tr>
                                            <%            }
                                            %>
                                        </table >

                                        <%
                                            } catch (Exception e) {
                                                e.getMessage();
                                            }
                                        %>

                                </div>
                        </td>
                    </tr>
                </table>               

            </div>
            
        </div>
        <div id="footer">
            <p>Copyright (c) 2012 www.Vido_Dido.com </p>
        </div>
    </body>
</html>